package com.Ahorcado.Controllers;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
@ManagedBean(name="draw")
@SessionScoped

public class DibujarAhorcado {
	public String parte="<img src='resources/imagenes/horca3.jpg' alt='' />";
	 
	 public String getParte() {
		System.out.print("yo regreso"+parte);
		 return parte;
	}

	public void setParte(String parte) {
		this.parte = parte;
	}
	
	public void drawCabeza(){
		this.setParte("horca2.jpg");
	}

}
